X-Git-Url: https://git.r.bdr.sh/rbdr/super-polarity/blobdiff_plain/097781e6ad3f7bb1c13c16ff7b6bb7219764fb29..3de51c6f55d304f038df1b77c8ab346e2a187fe1:/Super%20Polarity/ActorFactory.cs diff --git a/Super Polarity/ActorFactory.cs b/Super Polarity/ActorFactory.cs index 9995707..f9c7697 100644 --- a/Super Polarity/ActorFactory.cs +++ b/Super Polarity/ActorFactory.cs @@ -18,7 +18,6 @@ namespace SuperPolarity mainShip.Initialize(Game.Content.Load("Graphics\\main-ship"), position); ActorManager.CheckIn(mainShip); - Renderer.CheckIn(mainShip); return mainShip; } @@ -45,7 +44,6 @@ namespace SuperPolarity ship.SetPolarity(polarity); ActorManager.CheckIn(ship); - Renderer.CheckIn(ship); return ship; } @@ -64,7 +62,6 @@ namespace SuperPolarity bullet.Angle = angle; ActorManager.CheckIn(bullet); - Renderer.CheckIn(bullet); return bullet; } @@ -93,7 +90,7 @@ namespace SuperPolarity ship.BoxDimensions.Z = 10; ship.Initialize(texture, position); - ship.MaxVelocity = 5.5f; + ship.MaxVelocity = 5.2f; ship.FleeVelocity = 6.5f; ship.ChargeVelocity = 5.5f; ship.Value = 3; @@ -102,7 +99,6 @@ namespace SuperPolarity ship.SetPolarity(polarity); ActorManager.CheckIn(ship); - Renderer.CheckIn(ship); return ship; } @@ -131,15 +127,16 @@ namespace SuperPolarity ship.BoxDimensions.Z = 40; ship.Initialize(texture, position); + ship.MagneticRadius = 1000; + ship.RepelRadius = 200; ship.MaxVelocity = 0.5f; ship.FleeVelocity = 5; ship.ChargeVelocity = 1; ship.Value = 10; - ship.HP = 9; + ship.HP = 29; ship.SetPolarity(polarity); ActorManager.CheckIn(ship); - Renderer.CheckIn(ship); return ship; }